﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Unit_Tests
{
    public class SimpleModel
    {
        public string String { get; set; }
        public int Int { get; set; }
        public SimpleModel Object { get; set; }
        public string[] ListOfStrings { get; set; }
        public SimpleModel[] ListOfObjects { get; set; }

        public static SimpleModel Create()
        {
            return new SimpleModel() {
                String = "this is a string.",
                Int = 27,
                Object = new SimpleModel() { String = "this is a string in a sub object.", Int = 54 },
                ListOfStrings = new[] { "string 1", "string 2", "string 3" },
                ListOfObjects = new[] {
                    new SimpleModel() { String = "object 1", Int = 1 },
                    new SimpleModel() { String = "object 2", Int = 2 },
                    new SimpleModel() { String = "object 3", Int = 3 }
                }
            };
        }
    }
}
